package ld.oauth.blog;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableEurekaClient
@MapperScan(basePackages = {"ld.oauth.blog.mapper"})
@EnableTransactionManagement
public class ResourceBlogApplication {

    public static void main(String[] args) {
        SpringApplication.run(ResourceBlogApplication.class,args);
    }
}
